package com.sn.pw.dao.entity;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;

import com.gitee.sunchenbin.mybatis.actable.constants.MySqlCharsetConstant;
import com.gitee.sunchenbin.mybatis.actable.constants.MySqlEngineConstant;
import com.gitee.sunchenbin.mybatis.actable.constants.MySqlTypeConstant;
import com.sn.pw.common.entity.BaseEntity;
import lombok.Data;
import com.gitee.sunchenbin.mybatis.actable.annotation.*;
@Data
@TableName("logistics_info")
@TableComment("物流信息表")
@TableCharset(MySqlCharsetConstant.UTF8MB4)
@TableEngine(MySqlEngineConstant.InnoDB)
public class LogisticsInfo extends BaseEntity {
    /**
     * 物流信息id
     */
    @TableField("logistics_info_id")
    @ColumnType(MySqlTypeConstant.BIGINT)
    @ColumnComment("物流信息id")
    private Long logisticsInfoId;

    /**
     * 配送人id
     */
    @TableField("delivery_person_id")
    @ColumnType(MySqlTypeConstant.BIGINT)
    @ColumnComment("配送人id")
    private Long deliveryPersonId;

    /**
     * 经度
     */
    @TableField("longitude")
    @ColumnType(MySqlTypeConstant.DOUBLE)
    @ColumnComment("经度")
    private Double longitude;

    /**
     * 纬度
     */
    @TableField("latitude")
    @ColumnType(MySqlTypeConstant.DOUBLE)
    @ColumnComment("纬度")
    private Double latitude;

    /**
     * 地址
     */
    @TableField("address")
    @ColumnType(MySqlTypeConstant.VARCHAR)
    @ColumnComment("地址")
    private String address;

    /**
     * 出通单号
     */
    @TableField("shipping_order_number")
    @ColumnType(MySqlTypeConstant.VARCHAR)
    @ColumnComment("出通单号")
    private String shippingOrderNumber;
}